<script language="JavaScript" type="text/javascript">
<!--
function mentor_signup()
{
  document.mss.submit() ;
}
-->
</script>
<div id="body">
<?=$this->validation->error_string; ?>
<?= $error; ?>
	  <div id="member_list" >
	<table id="mentors_list" cellpadding="15px">
	<tr >
	<td style="width:500px;">
		<div style="float:left;"><span style="font-size:18px;color:#FFFFFF;">CS 11</span>
	<?php
			foreach($mentors11->result() as $row) {
				$name = $row->FirstName.' '.$row->LastName;
				echo '<p style="font-size:12px;">';
				if($admin) {
					echo anchor('user_control/delete_mentorship/'.$row->ID, img('images/delete_member.gif'), array('title'=> 'Delete Mentorship'));
					echo '&nbsp&nbsp&nbsp';

				}
				echo anchor('user_control/member_profile/'.$row->Username,$name);
				echo '</p>';
			}
	?></div>
		<div style="float:right;"><span style="font-size:18px;color:#FFFFFF;">CS 12</span>
	<?php
			foreach($mentors12->result() as $row) {
				$name = $row->FirstName.' '.$row->LastName;
				echo '<p style="font-size:12px;">';
				if($admin) {
					echo anchor('user_control/delete_mentorship/'.$row->ID, img('images/delete_member.gif'), array('title'=> 'Delete Mentorship'));
					echo '&nbsp&nbsp&nbsp';

				}
				echo anchor('user_control/member_profile/'.$row->Username,$name);
				echo '</p>';
			}
	?></div>
	</td>
		<tr><td><div id="mentor_signup">
		<?php echo form_open('user_control/mentor_signup', array('name'=>'mss', 'id'=>'mss')); ?>
	          <a
		  href="javascript:mentor_signup()"><br /><h3>Sign-up   as Mentor in:</h3></a>
  		  <select name="subsel">
		  <option value ="CS 11">CS 11</option>
		  <option value ="CS 12">CS 12</option>
 		 </select>
		</form>
		</div></td></tr></table>
	  </div><div class="clear"> </div>
